
package com.example.visitedsys.service;

import com.example.visitedsys.informationGet.PermissionNodeVO;
import com.example.visitedsys.informationGet.PermissionVO;
import com.example.visitedsys.pojo.Permission;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author  SongPeng
 * @date  2021/10/21 16:32
 * @version 1.0
 */

@Service
public interface PermissionService {
    public List<Permission> findPermissionsByRole(Long roleId);

    List<PermissionNodeVO> findMenuTree();

    List<Long> findOpenIds();

    PermissionVO edit(Long id);
}
